summaryrefslogtreecommitdiff
path: root/ui/routes/(app)/ch/[channel]/+page.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'ui/routes/(app)/ch/[channel]/+page.svelte')
-rw-r--r--ui/routes/(app)/ch/[channel]/+page.svelte20
1 files changed, 1 insertions, 19 deletions
diff --git a/ui/routes/(app)/ch/[channel]/+page.svelte b/ui/routes/(app)/ch/[channel]/+page.svelte
index d4e04fe..8eba709 100644
--- a/ui/routes/(app)/ch/[channel]/+page.svelte
+++ b/ui/routes/(app)/ch/[channel]/+page.svelte
@@ -67,24 +67,6 @@
<div class="active-channel" on:scroll={handleScroll} bind:this={activeChannel}>
<ActiveChannel {messageRuns} />
</div>
-<div class="create-message max-h-full">
+<div class="create-message">
<MessageInput {channel} />
</div>
-
-<style>
- .active-channel {
- height: calc(
- 100vh - var(--app-bar-height) - var(--interface-padding) - var(--input-row-height)
- );
- overflow: auto;
- }
- .create-message {
- position: fixed;
- bottom: 0.5rem;
- width: calc(100% - var(--nav-width) - 2rem);
- @media (width <= 640px) {
- width: 100%;
- left: 0;
- }
- }
-</style>